<div class="alert-box secondary">
	<div class="row collapse">
		<div class="large-3 small-3 columns">
			<span class="prefix"><strong>Search Student:</strong></span>
		</div>
		<form action="" method="POST">
		<div class="large-6 small-6 columns">
			<input id="student_enrollment_id" class="searchInput" required autocomplete="off" placeholder="To search student, enter student name or ID number." url="<?=site_url('output/finance_search_student');?>" type="text" name="student_search_data" autofocus>
			<input type="hidden" name="current_student" value="<?=@$enrollment_id;?>">
		</div>
		<div class="large-3 small-3 columns">
			<input type="submit" name="go_to_student" class="button postfix" value="View Student Fee">
		</div>
		</form>
	</div>
	<span><strong>NOTE:</strong> Students that will appear on the search are students that have been verified by registrar or the like.</span>
</div>
<?if($official_student):?>
<?$this->load->view('layouts/student_profile_head');?>
<div class="section-container auto" data-section data-options="deep_linking: true">
  <section class="active">
    <p class="title" data-section-title><a href="#student-financial-records">Student Financial Records</a></p>
    <div class="content structured" data-slug="student-financial-records" data-section-content>
      <?$this->load->view('fees/_view_fees_insert');?>
    </div>
  </section>
  <!--
  <section>
    <p class="title" data-section-title><a href="#payment-overthecounter">Over The counter Payments</a></p>
    <div class="content " data-slug="payment-overthecounter" data-section-content>
      <?$this->load->view('fees/_view_fees_odc');?>
    </div>
  </section>
  -->
</div>

<!--load modals-->
<?=@$this->load->view('modals/admin/view_fees_modal',$modal);?>
<?=@$this->load->view('modals/fees/_view_paymentmode',$modal);?>
<?else:?>
<div class="alert-box secondary">
	<h5>Search or Select a student to view financial records.</h5>
</div>
<?endif;?>
<script type="text/javascript" src="<?=script_url('custom/fsearch_2');?>"></script>